﻿using System;
using Slja.Utility;
namespace Slja.Model
{
    /// <summary>
    /// OrderWorkTeamModel:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class OrderWorkTeamModel
    {
        public OrderWorkTeamModel()
        { }
        #region Model
        private int _id;
        private int _orderid;
        private int _workrole;
        private WorkerRole _enum_workrole;
        private int _workerid;
        private string _workername;
        private DateTime? _createtime;
        private string _note;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 订单ID
        /// </summary>
        public int OrderID
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        /// <summary>
        /// 工作角色(n)
        /// </summary>
        public int WorkRole
        {
            set { _workrole = value; }
            get { return _workrole; }
        }
        /// <summary>
        /// 工作角色(枚举)
        /// </summary>
        public WorkerRole enum_WorkRole
        {
            set { _enum_workrole = value; }
            get { return _enum_workrole; }
        }
        /// <summary>
        /// 负责人ID
        /// </summary>
        public int WorkerID
        {
            set { _workerid = value; }
            get { return _workerid; }
        }
        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string WorkerName
        {
            set { _workername = value; }
            get { return _workername; }
        }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note
        {
            set { _note = value; }
            get { return _note; }
        }
        #endregion Model

    }
}

